//
//  Behavior.m
//  Charles
//
//  Created by Charles on 2017/6/13.
//  Copyright © 2017年 charles. All rights reserved.
//

#import "Behavior.h"

@implementation FlyNoWay

- (void)fly {
    NSLog(@"I can not fly!!");
}

@end

@implementation FlyWithSwings

- (void)fly {
    NSLog(@"I am flying!!");
}

@end

@implementation FlyRocketPowered

- (void)fly {
    NSLog(@"I am flying with a rocket!");
}

@end


@implementation Quack

- (void)quack {
    NSLog(@"Quack!!");
}

@end

@implementation Squeak

- (void)quack {
    NSLog(@"Squeak!!");
}

@end

@implementation MuteQuack

- (void)quack {
    NSLog(@"Silence!!");
}

@end
